package com.rjt.user.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.springframework.data.domain.Page;

import com.rjt.user.model.UserModel;

public interface UserService {

	String register(UserModel userModel);

	String login(String email, String password,HttpServletRequest request);

	Page<UserModel> getList(HttpServletRequest request);

	String delete(List<UserModel> user);

	UserModel findUser(Integer id);

	String add(UserModel user, String method);

	boolean isAdmin();
	
	boolean isLogin();

	String getuId();

	String checkUser(UserModel userModel);
}
